package org.nf.box.mapper;

import org.apache.ibatis.annotations.Param;
import org.nf.box.domain.Like;

/**
 * @Author lzp
 * @Date 2024-12-19
 */
public interface LikeMapper {
    /**
     * 点赞
     * @param like
     */
    void addLike(Like like);

    /**
     * 是否点赞
     * @return 点赞实体
     */
    Integer isLike( Integer userId, Integer postId);
}
